﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Presentation.Module.Scheduling.ViewDto
{
    public class ScheduleStudy
    {
        private DateTime _StartWeekDate;
        private DateTime _EndWeekDate;
        public int Id { get; set; }
        public string StudyName { get; set; }


        public DateTime StartWeekDate
        {
            get
            {
                if (_StartWeekDate == DateTime.MinValue)
                {
                    _StartWeekDate = DateTime.Now;
                }
                return _StartWeekDate;
            }
            set
            {
                _StartWeekDate = value;
            }
        }

        public DateTime EndWeekDate
        {
            get
            {
                if (_EndWeekDate == DateTime.MinValue)
                {
                    _EndWeekDate = DateTime.Now;
                }
                return _EndWeekDate;
            }
            set
            {
                _EndWeekDate = value;
            }
        }

    }
}